# @Version : 1.0
# @Author  : 刘宇
# @File    : 14_type_change_exercise.py
# @Time    : 2025/9/29 19:45

i = 10
j = float(i)  # 10.0
print(type(i)) # int
print(type(j)) # float

i = j + 1 # 11.0
print(type(i)) # float
print(type(j)) #float

print(i) # 11.0
print(int(i)) # 11
print(type(i)) # float
#原因是float的精度比int高
